package Bank;

public class Member
{
	protected int		bankAccountID;
	protected String	name;
	protected String	first_Name;
	protected String	place;
	protected int		age;
	protected int		internetID;
	protected int		pasNumber;
	
	public Member(int bankAccountID, String name, String first_Name, String place, int age, int pasNumber, int internetID)
	{
		this.bankAccountID	= bankAccountID;
		this.name			= name;
		this.first_Name		= first_Name;
		this.place			= place;
		this.age			= age;
		this.pasNumber		= pasNumber;
		this.internetID		= internetID;
	}
	public String toString()
	{
		return bankAccountID + ": " + first_Name + " " + name + ", " + place  + ", " + age + " years old";
	}
	public int getBankAccountID()
	{
		return bankAccountID;
	}
	public String getName()
	{
		return name;
	}
	public String getFirstName()
	{
		return first_Name;
	}
	public int getAge()
	{
		return age;
	}
	public int getInternetID()
	{
		return internetID;
	}
	public int getPasNumber()
	{
		return pasNumber;
	}
	public void setPasNumber(int newNumber)
	{
		pasNumber = newNumber;
	}
	public void setInternetID(int newID)
	{
		internetID = newID;
	}
}
